package com.fpt.edu.vn.h2tv.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement(name ="Books")
public class BookResponse {
    private int status;
    private List<Book> books;
    private Long countTotal;
    
    
    public int getStatus() {
        return status;
    }
    
    @XmlAttribute(required = false)
    public void setStatus(int status) {
        this.status = status;
    }
    public List<Book> getBooks() {
        return books;
    }
    
    @XmlElement(name ="book")
    public void setBooks(List<Book> books) {
        this.books = books;
    }
    
    public Long getCountTotal() {
		return countTotal;
	}
    
    @XmlAttribute(required = false)
    public void setCountTotal(Long countTotal) {
		this.countTotal = countTotal;
	}
    
}
